package practica1;

public class Ejecucion {

	private int tamPob;
	private int maxIter;
	private int A;
	private int funOpt;
	private int funSel;
	private int K;
	private boolean elitismo;
	private double precision;
	private double probMut;
	private double probCruce;
	private int idxEjec;
	//private double[] valX;
	//private double valY;
	private String resX;
	private double resFX;
	
	public Ejecucion(int tp, int mi, int A, int fo, int fs, int K, boolean el, 
			double pr, double pm, double pc,int idx, String x,/*double[] x, double y,*/ double fx){
		tamPob = tp;
		maxIter = mi;
		this.A = A;
		funOpt = fo;
		funSel = fs;
		this.K = K;
		elitismo = el;
		precision = pr;
		probMut = pm;
		probCruce = pc;
		idxEjec = idx;
		resX = x;
		/*for(int i=0;i<x.length;i++)
			valX[i] = x[i];
		valY = y;*/
		resFX = fx;
	}

	public String getResX(){
		return resX;
	}

	//	public double[] getValX() {
//		return valX;
//	}

//	public double getValY() {
//		return valY;
//	}

	public double getResFX() {
		return resFX;
	}

	public int getFunOpt() {
		return funOpt;
	}

	public int getTamPob() {
		return tamPob;
	}

	public int getMaxIter() {
		return maxIter;
	}

	public int getA() {
		return A;
	}

	public int getFunSel() {
		return funSel;
	}

	public int getK() {
		return K;
	}

	public boolean getElitismo() {
		return elitismo;
	}

	public double getPrecision() {
		return precision;
	}

	public double getProbMut() {
		return probMut;
	}

	public double getProbCruce() {
		return probCruce;
	}

	public int getIdxEjec() {
		return idxEjec;
	}

	
}
